<#assign s=JspTaglibs["/WEB-INF/struts-tags.tld"]> 
<div id="sidebar">
		<div class="widget">
			<h4>Categories</h4>
			<ul>
				
				<#list mapList as map>
					<#assign cateName="${map['category'].categoryName}"/>
					<li ><a href="<@s.url action='spcategory' namespace='/article' ><@s.param name='category' >${cateName}</@s.param></@s.url>" >${cateName}</a>  (${map['count']})</li>
				</#list>
			</ul>
		</div>
		<div class="widget">
			<h4>Tags</h4>
			<ul>
				<#list tagsList as keyWord>
					<li  style="display:inline-block;*display:inline;*height:30px;margin:5px 10px 5px 0px"><a  href='<@s.url action="sptag" namespace="/article" ><@s.param name="tag" >${keyWord.name}</@s.param></@s.url>' title="${keyWord.name}" >${keyWord.name}</a></li>
				</#list>
					
			</ul>
		</div>
		<div class="widget">
			<h4>Recent Article</h4>
			<ul>
				<#list recentArticleList as blogArticle>
					<li><a href="<@s.url action="articleDetail" namespace="/article" ><@s.param name="bid" value="${blogArticle.id}" /><@s.param name="pageNo" value="1" /></@s.url>" title="${blogArticle.article.title}"> ${blogArticle.article.title} </a></li>
				</#list>
			</ul>
		</div>
		
</div>